package com.forezp.servicefeign.controller;

import com.forezp.servicefeign.providerSerivice.SchedualServiceHi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController{

    @Autowired
    SchedualServiceHi schedualServiceHi;

    @GetMapping(value = "hi")
    public String sayHiFromClientOne(String name) {
        return schedualServiceHi.sayHiFromClientOne(name);
    }
}
